All Questions
3 questions
1vote
1answer
112views
How to delete a string in my files?
So I want to match all below then remove those lines of string. [MTT-5634](https://my.atlassian.net/browse/MTT-5634) [MCC-123](https://my.atlassian.net/browse/MCC-123) [MTT-7965]: https://my.atlassian....
-1votes
3answers
300views
Get last "block" (pattern) of log file
my logfile: ... ---------- text1 text2 ---------- text3 text4 ---------- And now I want to grep only the last block (between "----------") -> text3/text4 Thank you :-) Didn't find any solution... ...
2votes
1answer
223views
How can I use sed to snip a line off of a string?
I'm writing a script to display the domain registrar info and I'm trying to snip off a few lines from what I already have I currently have it grabbing all the indented text from a whois. Now I'm ...